Skip to main content

Update Webhook

PUT 

https://api.fuse.io/api/v0/notifications/webhook

Update webhook's webhookUrl or eventType

Request

Query Parameters

    apiKey stringrequired
    Example: {{publicKey}}

Header Parameters

    API-SECRET stringrequired
    Example: {{secretKey}}

Body

    webhookId string
    webhookUrl string
    eventType string

Responses

OK

Schema
    _id string
    projectId string
    webhookUrl string
    eventType string
    createdAt string
    updatedAt string
    __v number
curl -L -X PUT 'https://api.fuse.io/api/v0/notifications/webhook' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"webhookId": "62d3f2aa15a8393bd802c313",
"webhookUrl": "https://webhook.site/d7a716ac-8119-4114-9586-f0667c2cb1e3",
"eventType": "ERC20"
}'
Request Collapse all
Base URL
https://api.fuse.io/api/v0/notifications
Parameters
— queryrequired
— headerrequired
Body
{
  "webhookId": "62d3f2aa15a8393bd802c313",
  "webhookUrl": "https://webhook.site/d7a716ac-8119-4114-9586-f0667c2cb1e3",
  "eventType": "ERC20"
}
ResponseClear

Click the Send API Request button above and see the response here!

Was this page helpful?